<?=html::script('js/validator.js')?>
<div id="left-740" style="padding-left:20px;">
	<div class="box-h1">
		<h1><?=Kohana::lang('title.changepassword')?></h1>
		<div class="box1 sform">
			<form action="<?=url::site('user/savechangepass')?>" onsubmit="return Validator.Validate(this,3)" method="post" id="register">
				<h3>Username & Password</h3>
				<ul><li>
					<span class="label">Username</span>
					<span class="required"></span>
					<span><?=cookie::get('username')?></span>
				</li><li>
					<span class="label">Password</span>
					<span class="required">*</span>
					<span><input name="password" id="reg_password" type="password" dataType="Require" msg="请输入密码"/></span>
				</li><li>
					<span class="label">Confirm Passord</span>
					<span class="required">*</span>
					<span><input name="confirm" dataType="Repeat" to="reg_password" msg="两次输入的密码不一致" type="password"/></span>
				</li><li>
					<span class="label"></span>
					<span class="required"></span>
					<span><input type="Submit" value="Submit"/></span>
				</li></ul>
			</form>
		</div>
	</div>
</div>